$OpenBSD: patch-base_process_memory_linux_cc,v 1.3 2014/05/24 15:27:34 robert Exp $
--- base/process/memory_linux.cc.orig.port	Wed May 14 21:22:29 2014
+++ base/process/memory_linux.cc	Thu May 22 21:42:27 2014
@@ -165,6 +165,7 @@ void EnableTerminationOnOutOfMemory() {
 // the setuid sandbox (in process_util_linux.c, in the sandbox source)
 // also has its own C version.
 bool AdjustOOMScore(ProcessId process, int score) {
+#if defined(OS_LINUX)
   if (score < 0 || score > kMaxOomScore)
     return false;
 
@@ -196,6 +197,9 @@ bool AdjustOOMScore(ProcessId process, int score) {
   }
 
   return false;
+#else
+  return true;
+#endif
 }
 
 bool UncheckedMalloc(size_t size, void** result) {
